package com.youedata.modular.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youedata.modular.entity.GoodsInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品表 Mapper 接口
 *
 * @author hst
 * @date 2021-08-05
 */

public interface GoodsInfoMapper extends BaseMapper<GoodsInfo> {

    List queryFuzzySearch(Page page, @Param("goodsInfo") GoodsInfo goodsInfo);

    GoodsInfo detailById(@Param("id") String id);

    List querySort(@Param("goodsInfo") GoodsInfo goodsInfo);
}
